package com.change.declare.declare.service.impl;

import org.springframework.stereotype.Service;
import java.util.Map;
import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.change.common.utils.PageUtils;
import com.change.common.utils.Query;

import com.change.declare.declare.dao.OrderconsignorsDao;
import com.change.declare.declare.entity.OrderconsignorsEntity;
import com.change.declare.declare.service.OrderconsignorsService;


@Service("orderconsignorsService")
public class OrderconsignorsServiceImpl extends ServiceImpl<OrderconsignorsDao, OrderconsignorsEntity> implements OrderconsignorsService {

    @Override
    public PageUtils queryPage(Map<String, Object> params) {
        IPage<OrderconsignorsEntity> page = this.page(
                new Query<OrderconsignorsEntity>().getPage(params),
                new QueryWrapper<OrderconsignorsEntity>()
        );

        return new PageUtils(page);
    }

}